package com.atguigu.lease;

import com.atguigu.lease.web.admin.service.ApartmentInfoService;
import com.atguigu.lease.web.admin.service.impl.ApartmentInfoServiceImpl;
import com.atguigu.lease.web.admin.utils.InterceptorProperties;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.stereotype.Component;

@SpringBootTest
public class MyTest1 {

    @Autowired
    private ApartmentInfoServiceImpl apartmentInfoServiceImpl;

    @Autowired
    private InterceptorProperties interceptorProperties;

    @Test
    public void test01(){
        apartmentInfoServiceImpl.checkBean();
    }


    @Test
    public void test02(){
        String[] exclude = interceptorProperties.getExclude();
        for (String s : exclude) {
            System.out.println(s);
        }
    }


}

